package com.sweet.pay.conf;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

/**
 * Created by sweet on 2019/6/5.
 * ---------------------------
 */
@Service
public class PayConfig {

  // 微信相关参数
  @Value("${wxAppId}")
  public String wxAppId;

  @Value("${wxMchId}")
  public String wxMchId;

  @Value("${wxKey}")
  public String wxKey;

  @Value("${wxCertPath}")
  public String wxCertPath;

  @Value("${wxRefundNotifyUrl}")
  public String wxRefundNotifyUrl;

  @Value("${wxNotifyUrl}")
  public String wxNotifyUrl;

  @Value("${serverAddress}")
  public String serverAddress;

  // 支付宝相关参数
  @Value("${aliAppId}")
  public String aliAppId;

  @Value("${aliAppPrivateKey}")
  public String aliAppPrivateKey;

  @Value("${aliAppPublicKey}")
  public String aliAppPublicKey;


  @Value("${aliNotifyUrl}")
  public String aliNotifyUrl;

}
